import java.util.Arrays;

/**
 * @description:
 * @Author: wuzhenbin
 * @CreateTime: 2025/2/18
 */
public class leetcode_75 {
    public static void main(String[] args) {

    }
    public void sortColors(int[] nums) {
        int tmp = -1;
        for (int i = 0; i < nums.length; i++) {
            int min = Integer.MAX_VALUE;
            for (int j = i; j < nums.length; j++) {
                min = Math.min(min,nums[j]);
            }
            nums[i]=min;
        }
    }
}
